package com.easyctba.core.domain.bo;

import com.easyctba.common.core.validate.EditGroup;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * FIAS分析视频配置信息
 */
@Data
public class FiasConfigBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 42L;

    /**
     * 开始时间 00:00格式
     */
    @NotNull(message = "视频开始时间不能为空", groups = { EditGroup.class })
    private String startTime;

    /**
     * 结束时间 00:00格式
     */
    @NotNull(message = "视频结束时间不能为空", groups = { EditGroup.class })
    private String endTime;

    /**
     * 视频时长(s)
     */
    @NotNull(message = "视频时长不能为空", groups = { EditGroup.class })
    private Long duration;

    /**
     * id
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 采样间隔(s)
     */
    @NotNull(message = "采样间隔不能为空", groups = { EditGroup.class })
    private Long interval;
}
